package conson.tech.manage.app.entity.mobile.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * ClassName: AdVo
 * Description: TODO
 * Author: HXL
 * Date: 2020/6/9 8:50 上午
 * Version: 1.0
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@Data
public class AdVo implements Serializable {

    private static final long serialVersionUID = -8712414991513406367L;
    @ApiModelProperty(value = "广告名称")
    private String appName;

    @ApiModelProperty(value = "广告id")
    private String appId;

    @ApiModelProperty(value = "广告显示图片地址")
    private String appIconUrl;

    @ApiModelProperty(value = "ios跳转原生路径")
    private String iosGoPage;

    @ApiModelProperty(value = "安卓跳转原生路径")
    private String androidGoPage;

    @ApiModelProperty(value = "跳转方式为H5时，H5跳转地址；跳转方式为后台时，为后台地址")
    private String appStartUrl;

    @ApiModelProperty(value = "是否需要登录标识 0-否 1-是")
    private Integer login;

    @ApiModelProperty(value = "跳转方式 1-原生 2-H5 3-小程序 4-跳转后台获取新url")
    private Integer appType;

    @ApiModelProperty(value = "是否有导航栏，1-有 0-无")
    private Integer addToolbar;

    @ApiModelProperty(value = "链接跳转所需要的groupId")
    private Long groupInfoId;

    @ApiModelProperty(value = "是否需要授权，2-实人，1-实名 0-否")
    private Integer authorize;
}
